package com.greenhou.sqlSession;

import java.util.List;

public interface SqlSession {
    //根据条件查询List
    public <E> List<E> selectList(String statementId, Object ... params) throws Exception;
    //根据条件查询某一个对象
    public <T> T selectOne(String statementId, Object ... params) throws Exception;

    //为dao接口生成代理实现类
    public <T> T getMapper(Class<?> mapperClass);
}
